const Mock = require('mockjs')

// 定义数据
const data = Mock.mock({
    userInfo: {
        roles: ['admin'],
    },
})

// 定义接口
export default function () {
    return {
        code: 200,
        data: data,
        message: 'success',
    }
}
